#ifndef TFDATACONVERT_H
#define TFDATACONVERT_H
#include "dataconvert.h"

#include <HRVCompute/freqDomainHRV_types.h>

class TFDataConvert
{
public:
    /**
     * @brief TFDataConvert
     * @param output_tf 视频域结果
     * @param maxFShow 最大显示频率
     */
    TFDataConvert(struct9_T output_tf,double maxFShow,bool useLog);
    QVector<QVector<double>> getBurgData(QVector<double>&t,QVector<double>&f,double &maxv,double &minv);
    QVector<QVector<double>> getLSData(QVector<double>&t,QVector<double>&f,double &maxv,double &minv);
    QVector<QVector<double>> getWaveletData(QVector<double>&t,QVector<double>&f,double &maxv,double &minv);

private:
    DataConvert dc;
    double maxF;
    bool useLog;//使用对数
    struct9_T output_tf;
};

#endif // TFDATACONVERT_H
